﻿using Apps.Common;
using Apps.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Text;
using System.Threading.Tasks;

namespace Apps.IBLL.PL
{
    public partial interface IPL_HC_DETAILSBLL
    {
       new List<PL_HC_DETAILS> GetListByParentId(ref GridPager pager, string queryStr, object parentId);
        
        decimal GetBathCode(DateTime BathCodeDate);
    }
    public partial interface IPL_HC_DETAILSBLL : IBaseBLL<PL_HC_DETAILS>
    {
        bool Deletes(ref ValidationErrors errors, Expression<Func<PL_HC_DETAILS, bool>> whereLambda);
        PL_HC_DETAILS GetItem(Expression<Func<PL_HC_DETAILS, bool>> whereLambda);
        List<PL_HC_DETAILS> GetPagerList(ref GridPager pager, Expression<Func<PL_HC_DETAILS, bool>> whereLambda);
        List<PL_HC_DETAILS> GetList(Expression<Func<PL_HC_DETAILS, bool>> whereLambda);

        bool Create(ref ValidationErrors errors, List<PL_HC_DETAILS> model);
    }
}
